package com.ruoyi.creditlife.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户预约对象 doctor_appointment
 * 
 * @author ddd
 * @date 2025-07-11
 */
public class DoctorAppointment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预约ID */
    private Long appointmentId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 出诊ID */
    @Excel(name = "出诊ID")
    private Long scheduleId;

    /** 医生姓名 */
    @Excel(name = "医生姓名")
    private String doctorName;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setAppointmentId(Long appointmentId) 
    {
        this.appointmentId = appointmentId;
    }

    public Long getAppointmentId() 
    {
        return appointmentId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setScheduleId(Long scheduleId) 
    {
        this.scheduleId = scheduleId;
    }

    public Long getScheduleId() 
    {
        return scheduleId;
    }

    public void setDoctorName(String doctorName) 
    {
        this.doctorName = doctorName;
    }

    public String getDoctorName() 
    {
        return doctorName;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("appointmentId", getAppointmentId())
            .append("userId", getUserId())
            .append("scheduleId", getScheduleId())
            .append("doctorName", getDoctorName())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
